import http from '@/utils/http'


//店铺下员工列表
export function getStaffListApi(){
    return http({
        url:'/staff-merchant/staff-list'
    })
}

//店铺下员工详细信息
export function getStaffInfoApi(staffId:Number){
    return http({
        url:'/staff-merchant/staff-info/'+staffId
    })
}


//店铺下角色列表
export function getStaffGroupListApi(){
    return http({
        url:'/staff-group/role-list'
    })
}

//角色名列表
export function getStaffGroupNameListApi(){
    return http({
        url:'/staff-group/role-name-list'
    })
}


//人脸检测
export function isFaceApi(faceBase64:String){
    return http({
        url:'/staff-merchant/staff-is-face',
        method: 'POST',
        data:faceBase64
    })
}
